FROM openjdk:11.0-jdk
#把宿主机的文件拷贝到容器中
COPY nemo-api-1.0.jar nemo-api-1.0.jar
#安装ip命令
#RUN yum -y install initscripts
EXPOSE 1777
CMD ["nohup","java","-jar","nemo-api-1.0.jar",">","/data/wwwlogs/nemo-api/nohup.log","2>&1"," &"]
#CMD ["java","-jar","nemo-api-1.0.jar"]
#ENTRYPOINT ["nohup","java","-jar","nemo-api-1.0.jar",">","/data/wwwlogs/nemo-api/nohup.log","2>&1"," &"]
